Forums > Java

post()… ouch!!!

Mar 24 2006 | 11:15 am

I was just messing around with some file searching stuff and stumbled across quite a significant discovery. It’s probably obvious to regular java-heads, but I was astounded to see the performance penalty I was getting from having a couple of "post()" lines in my code! When I commented out my post()s, execution time probably quintupled (don’t know, didn’t actually measure it — but it was significantly faster).

Good to know. Just thought some other new or relatively new java-users might like a heads-up — just in case they’re having somewhat mysterious performance issues while debugging.



Viewing 1 post (of 1 total)

Forums > Java