#28 Smaller footprint

open
nobody
General (246)
1
2003-07-07
2001-07-15
No

120K jar file is too big for lightweight applications

Discussion

  • jim northrup

    jim northrup - 2001-09-12

    Logged In: YES
    user_id=135344

    not really

     
  • Jonathan Nash

    Jonathan Nash - 2001-09-12

    Logged In: YES
    user_id=270664

    I didn't mean to imply that the code is in any way bloated.
    I'm a big fan of the design and, given what it does, which
    is a lot, 120K is reasonable.

    However, a small app that just needs limited graphing
    functionality (say just an XY graph) would be better served
    by say a small bean (which is another one of my enhancement
    requests) which did just that without a lot of the frills.

    Possibly this is something I'll try to tackle when the
    source code in the repository catches up with what I've
    emailed in.

     
  • David Gilbert

    David Gilbert - 2003-07-07
    • labels: --> General
     
  • David Gilbert

    David Gilbert - 2003-07-07

    Logged In: YES
    user_id=112975

    This is a low priority (for me) obviously given how long it
    has been open (and the fact that the jar files are
    significantly larger now).

    It would be possible to split the jar files up into core
    classes, classes required for bar charts, classes required
    for pie charts, classes required for time series charts, in
    order to reduce download sizes. I might revisit this once
    the '1.0' release is close.

    Regards,

    Dave Gilbert
    JFreeChart Project Leader

     
  • David Gilbert

    David Gilbert - 2003-07-07
    • priority: 5 --> 1
     
  • jim northrup

    jim northrup - 2003-07-07

    Logged In: YES
    user_id=135344

    if 120k is too small, consider foregoing the jarfile entirely.

    if this is an applet, multi-stage loading of an optional splash
    screen, frame window, and then instantiation of the complex
    frameworks if any is the right sequence, and gives good
    startup response. without the jarfile, your first bootstrap
    classes can be small and fast, and get drawn before loading
    more.

    this also belays the effort of segregating modules for jarring.
    whats needed gets loaded first.

     
  • jim northrup

    jim northrup - 2003-07-07

    Logged In: YES
    user_id=135344

    s/small/large/1

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks