<i>lrange with huge index, weird results</i> status still Open with 3 other changes
by
.
D 2017-11-03T09:43:47.111
J icomment Hi\sJan,\r\n\r\nas\syou\scertainly\sknow,\sthe\sindex\sis\ssigned\sinteger\shere,\s\r\nthus\sjust\sdo\s`expr\s{int(2147483649)}`\s->\s-2147483647\s:)\r\n\r\nThe\soptions:\r\n-\sRather\sthe\sindex\sshould\sbe\sretrieved\sas\sINT_MAX\sin\ssuch\scases\s(which\scould\sbe\salso\stoo\sdangerous\se.\sg.\swill\sunexpectedly\sreturn\ssomething\sfor\svery\slarge\slists);\r\n-\sOr\sthe\sAPI\sfor\sindices\sshould\sbe\srewritten\sto\swide-int\s(incompatible\sthen);\r\n-\sOr\sthe\serror\s"integer\stoo\slarge"\sshould\sbe\sthrown\s(which\swill\sbe\scertainly\sannoying\ssometimes).
J login sebres
J mimetype text/plain
K aaa02c55b9cb7b62c39bb02a7631ccd88fd00295
U sebres
Z a3d05a06edc94dd91e6948948f569908