Compare commits

..

9 Commits

Author SHA1 Message Date
jan 8e8fee5238 misc cleanup 2 months ago
jan ee2ee955eb speed up polygon comparisons 2 months ago
jan d814f3372d optionally don't sort elements
elements aren't re-ordered that often, sorting them is slow, and the
sort criteria are arbitrary, so we might want to only sort stuff by name
2 months ago
jan 70a9c2a8ef multiple bugfixes for ordering 2 months ago
jan 1b07a50e4a Add pattern.sort() and file.utils.preflight_check() 2 months ago
jan 38ccc3ebab fix circular import 2 months ago
jan b46c1bd2a6 Create an ordering for everything
In order to make layouts more reproducible
2 months ago
jan aec708db33 add plugged() for manually-aligned ports 2 months ago
jan b33c632569 cache base64encode calls since it's actually fairly slow 2 months ago

@ -352,7 +352,7 @@ class ILibraryView(Mapping[str, 'Pattern'], metaclass=ABCMeta):
ii = 0
suffixed_name = sanitized_name
while suffixed_name in self or suffixed_name == '':
suffixed_name = b64suffix(ii)
suffixed_name = sanitized_name + b64suffix(ii)
ii += 1
if len(suffixed_name) > max_length:

Loading…
Cancel
Save