mherger wrote: 
> > I’m not sure I understand why this is so bad. If someone uses an
> older
> > version of LMS, they’ll just get the behavior they’ve been getting
> for
> > years, which is functionally correct, even if it consumes extra space
> > and time.
> 
> You're right of course, it wouldn't hurt the plugin.
> 
> > Independently of the MAI question, is there a reason not to put
> stable
> > IDs in LMS? Would it break anything?
> 
> It might be slightly slower overall. IIRC integers are quicker to look 
> up than strings. Some claim it's twice as fast. But I haven't hard
> evidence.

How about doing the same string -> MD5 -> 60 bit integer trick that is
done in DBCache.pm to make the id an integer?


------------------------------------------------------------------------
mps's Profile: http://forums.slimdevices.com/member.php?userid=36351
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to