Opened 8 years ago
Last modified 6 years ago
#3180 new enhancement
Make rendering of points faster by avoding memory allocation
Reported by: | wenzeslaus | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 7.6.2 |
Component: | Display | Version: | svn-trunk |
Keywords: | d.vect, d.graph, d.labels, points, symbols, speed, rendering, memory | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
Rendering of large number of points (symbols) takes a long time. The rendering function symbol()
(backend for D_symbol()
and D_symbol2()
) in symbol.c (Programming manual) calls G_malloc()
. I didn't do any profiling, but according to my experience, G_malloc()/G_free()
called hundreds of times will negatively influence the performance. It would be nice if we can avoid that allocation and perhaps even the following for loop.
Change History (5)
comment:1 by , 7 years ago
Milestone: | 7.4.0 → 7.4.1 |
---|
comment:2 by , 7 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
comment:3 by , 6 years ago
Milestone: | 7.4.2 → 7.6.0 |
---|
All enhancement tickets should be assigned to 7.6 milestone.
Note:
See TracTickets
for help on using tickets.
Ticket retargeted after milestone closed