Re: [jruby-dev] Analysis of variable scope sizes

2009-04-11 Thread Charles Oliver Nutter
Charles Oliver Nutter wrote: run rails in dev mode, request index, request info: {0=8561, 1=3706, 2=2254, 3=789, 4=323, 5=168, 6=97, 7=51, 8=28, 9=24, 10=7, 11=9, 12=3, 13=6, 14=3, 15=5, 19=1, 20=1, 23=1, 22=1, 25=2, 28=1} It occurred to me after I sent this that this is a crapload of static

Re: [jruby-dev] Analysis of variable scope sizes

2009-04-11 Thread Charles Oliver Nutter
Charles Oliver Nutter wrote: I thought I'd run some numbers to see what size variable scopes appear in typical applications. Currently, for heap-based scoping, we optimize up to 4 local variables in fields, and anything larger we only use an array structure to contain. Here's the breakdown for

[jruby-dev] Analysis of variable scope sizes

2009-04-11 Thread Charles Oliver Nutter
I thought I'd run some numbers to see what size variable scopes appear in typical applications. Currently, for heap-based scoping, we optimize up to 4 local variables in fields, and anything larger we only use an array structure to contain. Here's the breakdown for a few apps/scripts: Version-

[jruby-dev] [jira] Created: (JRUBY-3565) TCPServer should bind to INADDR_ANY given empty string as hostname

2009-04-11 Thread Clayton Wheeler (JIRA)
TCPServer should bind to INADDR_ANY given empty string as hostname -- Key: JRUBY-3565 URL: http://jira.codehaus.org/browse/JRUBY-3565 Project: JRuby Issue Type: Bug Co

[jruby-dev] [jira] Created: (JRUBY-3564) UDPSocket#bind should interpret the empty string as INADDR_ANY, not loopback

2009-04-11 Thread Clayton Wheeler (JIRA)
UDPSocket#bind should interpret the empty string as INADDR_ANY, not loopback Key: JRUBY-3564 URL: http://jira.codehaus.org/browse/JRUBY-3564 Project: JRuby Issue Ty

[jruby-dev] [jira] Created: (JRUBY-3563) getsockname and getpeername should return a struct sockaddr

2009-04-11 Thread Clayton Wheeler (JIRA)
getsockname and getpeername should return a struct sockaddr --- Key: JRUBY-3563 URL: http://jira.codehaus.org/browse/JRUBY-3563 Project: JRuby Issue Type: Bug Components: Ruby

[jruby-dev] [jira] Created: (JRUBY-3562) tc_ftype.rb tests are a mess!

2009-04-11 Thread James Le Cuirot (JIRA)
tc_ftype.rb tests are a mess! - Key: JRUBY-3562 URL: http://jira.codehaus.org/browse/JRUBY-3562 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.2 En

[jruby-dev] [jira] Created: (JRUBY-3561) tc_expand_path.rb tests wrongly assume that ~user == $HOME

2009-04-11 Thread James Le Cuirot (JIRA)
tc_expand_path.rb tests wrongly assume that ~user == $HOME -- Key: JRUBY-3561 URL: http://jira.codehaus.org/browse/JRUBY-3561 Project: JRuby Issue Type: Bug Components: Core C