Menu

#3 Better Java Listener

0.9_Beta_Release
open
nobody
5
2005-04-12
2003-08-19
Matt Paulin
No

Currently the java listener uses a case statement. I
would be nice to somehow use inner classes and a
hashmap to make that lookup go faster. Right now it
just causes a bottleneck.

Discussion

  • Matt Paulin

    Matt Paulin - 2003-11-28
    • assigned_to: nobody --> ajcantu
     
  • Matt Paulin

    Matt Paulin - 2003-12-28

    Logged In: YES
    user_id=318102

    Instead of altering the existing generator,
    create a new code generator module at
    com.cube42.ramp.generator.java2

    Have the new module generate the code using this new scheme.
    It could be that the old scheme is faster and only with a
    profilier can we tell for sure. It also might be that in
    some cases a use would want to generate the API using a case
    statement and in other cases they would want to use the
    hashtable/inner class trick. Best to just leave 2 options
    for now.

     
  • Matt Paulin

    Matt Paulin - 2004-02-25
    • labels: --> Java Pluggin
    • milestone: --> 0.9_Beta_Release
     
  • Matt Paulin

    Matt Paulin - 2005-04-12
    • assigned_to: ajcantu --> nobody
     

Log in to post a comment.

MongoDB Logo MongoDB