Skip to content

Commit aaedc3f

Browse files
committed
Describe performance improvements.
1 parent 7a6a717 commit aaedc3f

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,18 @@ part of your geospatial project.
9898
### Breaking Changes:
9999
- Python 2 and Python 3.8 support dropped.
100100
- Field info tuple is now a namedtuple (Field) instead of a list.
101-
- Field type codes are now FieldType enum members.
101+
- Field type codes are now FieldType 'enum' members.
102102
- bbox, mbox and zbox attributes are all new Namedtuples.
103-
- Writer does not mutate shapes.
103+
- Writer does not mutate Shapes.
104104
- New custom subclasses for each shape type: Null, Multipatch, Point, Polyline,
105105
Multipoint, and Polygon, plus the latter 4's M and Z variants (Reader and
106106
Writer are still compatible with their base class, Shape, as before).
107107
- Shape sub classes are creatable from, and serializable to bytes streams,
108108
as per the shapefile spec.
109109

110+
### Improvements:
111+
- Speeded up writing shapefiles by up to another ~27% (on top of the recent ~39% improvement in 2.4.1).
112+
110113
### Code quality
111114
- Statically typed, and checked with Mypy
112115
- Checked with Ruff.

changelog.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ VERSION 3.0.0-alpha
44
Breaking Changes:
55
* Python 2 and Python 3.8 support dropped.
66
* Field info tuple is now a namedtuple (Field) instead of a list.
7-
* Field type codes are now FieldType enum members.
7+
* Field type codes are now FieldType 'enum' members.
88
* bbox, mbox and zbox attributes are all new Namedtuples.
9-
* Writer does not mutate shapes.
9+
* Writer does not mutate Shapes.
1010
* New custom subclasses for each shape type: Null, Multipatch, Point, Polyline,
1111
Multipoint, and Polygon, plus the latter 4's M and Z variants (Reader and
1212
Writer are still compatible with their base class, Shape, as before).
@@ -24,6 +24,9 @@ VERSION 3.0.0-alpha
2424
* pyproject.toml src layout
2525
* Slow test marked.
2626

27+
Improvements:
28+
* Speeded up writing shapefiles by up to another ~27% (on top of the recent ~39% improvement in 2.4.1).
29+
2730

2831
VERSION 2.4.1
2932

0 commit comments

Comments
 (0)