UFL

repr and str does not scale linearly

Bug #963100 reported by Martin Sandve Alnæs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UFL
Won't Fix
Undecided
Unassigned

Bug Description

repr and str calls themselves recursively, which results in O(n^2) performance.

A faster implementation would be constructing string pieces
for all nodes and piecing them together in one operation.

Revision history for this message
Martin Sandve Alnæs (martinal) wrote :

This is not important anymore because repr is not used for == or signature.

Changed in ufl:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.