Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 3 Forum
Date: Fri Sep 28 2001 5:39 pm
Author: Cipriani, Jason A. <jac4@andrew.cmu.edu>
Subject: Re: memory issues

i really don't like having to program "on the edge" like this. with your test file, i'm very limited in the stuff i can use. for example, using a TreeSet for line numbers gives out of memory exceptions, while using a Vector does not.

i think a smaller test file would be nice as it gives everybody the opportunity to be slightly creative in their implementation of TrieNode. it seems to me like the ta took a big reuters article, then trimmed it down until he stopped getting out of memory exceptions. that means that our TrieNode's have to be pretty much the same size or smaller than his.

this is a silly limitation to place on students trying to be creative in their implementations. i consider myself a pretty efficient programmer, i can optimize things for size or speed, depending on the situation... but i am still having difficulty balancing between doing stuff i WANT to do, and keeping things extremely small (TreeSet vs. Vector... we should not have a test file that is this sensitive to memory usage).

jason
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
memory issues      Chow, Jicai Jonathan      Fri Sep 28 2001 4:15 pm       
Re: memory issues      Lee, Peter      Fri Sep 28 2001 4:38 pm       
Re: memory issues      Cipriani, Jason A.      Fri Sep 28 2001 5:39 pm       
Re: memory issues      Bortz, Andrew S.      Fri Sep 28 2001 6:09 pm       
Re: memory issues      Zelinski, Adam C.      Fri Sep 28 2001 6:28 pm       
Re: memory issues      Bortz, Andrew S.      Fri Sep 28 2001 6:37 pm       
Re: memory issues      Danish, Matt R.      Sat Sep 29 2001 2:18 pm       
Re: memory issues      Cipriani, Jason A.      Mon Oct 1 2001 9:32 am       
Re: memory issues      Yuen, John      Sat Sep 29 2001 1:00 am       
Re: memory issues      Yuen, John      Sat Sep 29 2001 1:01 am       
Re: memory issues      Shi, Ying      Sun Sep 30 2001 11:11 pm       

Back to previous screen