Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Check their work or check the summary? (Score 4, Informative) 486

THATS THE ENTIRE POINT OF THIS PAPER.

It is easy to explain the results: In high-level languages such as Java and Python, a seemingly benign
statement such as concatString += addString may actually involve executing many extra cycles behind
the scenes. To concatenate two strings in a language such as C, if there is not enough space to expand
the concatString to the size it needs to be to hold the additional bytes from addString, then the
developer has to explicitly allocate new space with enough storage for the sum of the sizes of the two
strings and copy concatString to the new location, and then finally perform the concatenation. In Java
and Python strings are immutable, and any assignment will result in the creation of a new object and
possibly copy operations, hence the overhead of the string operations. The disk-only code, although
apparently writing to the disk excessively, is only triggering an actual write when operating system
buffers are full. In other words, the operating system already lessons disk access times. A developer
familiar with the language and system internals readily notices the causes of this observed behaviour,
but this behaviour may be easily missed, as indicated by examining similar cases in production code.

Comment Re:inertia... oops! I mean, moo. (Score 1) 9

I'm probably the same way. Got to milk my 3 digit UID for all its worth. :)

I've never gone to a meetup. I'd be self-conscious, feel out of place, and so on. Add travel, and forget it. If there was one here in Detroit, i'd at least consider it.

I did meet one slashdotter though. He got me an interview in Toledo. Though i don't remember who it was, i remember his smile when i came through the door and feeling good about meeting someone else.

User Journal

Journal Journal: Verbiage: 42 is here 9

Last night, as the calendar shifted to 27 Adar, i became 42. My birthday is actually in Adar 1, but not being a leap year, there's no intercalary month, so its just plain Adar.

42 is cool and all, but as each year passes, i care less and less about birthdays. It's not more than just getting older. It's about understanding things, realizing how stupid young people are (like i was, back then) and just a general non caring. Life simply is.

Slashdot Top Deals

There are two ways to write error-free programs; only the third one works.

Working...