max number breakpoints for [function]

tdaeik's icon

hi,
just out of a morbid curiosity i put in 1000000 breakpoints in a function. lo and behold max froze forever (40+ minutes). so i was just wondering is there a prescribed maximum number of breakpoints allowable for [function]?
cheers,,

seejayjames's icon

This might be good to know for some other objects like [jit.cellblock] or [table] too.

Emmanuel Jourdan's icon

function and jit.cellblock use linked list for data storage, unlike (i)table which has preallocated memory which is therefore way faster.