Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
T-hawk
on July 16, 2011
|
parent
|
context
|
favorite
| on:
Ask HN: What's your most-used function that you wr...
I know nothing about Ruby, but it's possible if a language implements an array as a linked list so the tail elements don't actually move. (At any rate, I hardly think we're worried about a modern computer workload of at most 25^2 string operations.)
ssp
on July 16, 2011
[–]
In that case, it couldn't
find
the element to delete in constant time.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: