j
k
j a
j l
An easy and cheap way to know whether the insertion was succesful is to check if size() has increased.
Thanks, that's what I'm doing now. I just thought that maybe unhinted version first tries to insert an element at the end anyway...
Back to the thread
Back to the list