Spanny 2: Rise of std::mdspan
projected onto the ground, for planning purposes 75 https://docs.nav2.org/setup_guides/footprint/setup_footprint.htmlgithub.com/griswaldbrooks/spanny2 layout_polygonal struct layout_polygonal::mapping std::sin(theta) + v.y * std::cos(theta) + p.y; v.x = x; v.y = y; } // create filled footprint return convex_fill(vertices, {parent_shape_.extent(0), parent_shape_ com/griswaldbrooks/spanny2 driving robot can visualize robot in map path planner will use this footprint to check for collisions 77github.com/griswaldbrooks/spanny2 few! that was a lot • learned what0 码力 | 117 页 | 2.02 MB | 5 月前3C++ Under the Hood
Person C++ Under the Hood – Inheritance vs. Aggregation 109C++ Under the Hood Object Memory Footprint v-table Mechanism 110C++ Under the Hood 111C++ Under the Hood 112C++ Under the Hood 113C++ Under Constructor/Destructor Order 165 godbolt.org/z/3vahsaEr9C++ Under the Hood - structure static footprint 166 godbolt.org/z/563sbr99rC++ Under the Hood - Pre-/Post-main() TODO 167 godbolt.org/z/xxxxxxxxx0 码力 | 168 页 | 13.55 MB | 5 月前32.1.4 PingCAP Go runtime related problems in TiDB production environment
huge pages) Case study: THP (transparent huge pages) Description ● The TiDB server memory footprint is abnormal ● The memory available on this node is not too much Description ● The Go Runtime0 码力 | 56 页 | 50.15 MB | 5 月前3micrograd++: A 500 line C++ Machine Learning Library
only : micrograd++ comes with microgradpp.h, that contains all the headers in one file. • Small footprint : libmicrogradpp.a is only 122KB. • Inspiration from micrograd: Drawing inspiration from the simplicity0 码力 | 3 页 | 1.73 MB | 5 月前3Designing a Slimmer Vector of Variants
Design • We now have a candidate design for a data structure that radically reduces the memory footprint from our original example, while retaining the same functionality • This works nicely to solve0 码力 | 64 页 | 1.98 MB | 5 月前3Object Introspection: A Revolutionary Memory Profiler for C++ Objects
std::string Bar std::string Bar std::stringObject Introspection (OI) Goals • Byte level memory footprint analysis for objects • Complete object type hierarchies • Dynamic allocations and containers0 码力 | 62 页 | 2.24 MB | 5 月前3Shared Libraries
lib vs Static Lib • Both are mechanisms for code sharing • Static: 1. Smaller single binary footprint (only used sections are imported) 2. Better code locality 3. Efficient calls • Dynamic: 1. Shared0 码力 | 69 页 | 1.40 MB | 5 月前32020: The Year of Sanitizers?
scenes (compiler and ASan runtime) and analyze the instrumentation impact, both in perf and memory footprint. We’ll examine a handful of examples diagnosed by ASan and see how easy it is to read memory snapshots0 码力 | 135 页 | 27.77 MB | 5 月前3The Shapes of Multidimensional Arrays
Mixed static/dynamic Well, it’s a little bit more complicated. . . Optimization goal Memory footprint of only dynamic dimensions Optimal runtime access of a particular dimension Bonus: optimized compilation0 码力 | 62 页 | 1.38 MB | 5 月前3Rethinking Task Based Concurrency and Parallelism for Low Latency C++
problems: ○ Task starvation ○ Load balancing ○ Forfeits strict FIFO behaviour ○ Increases memory footprint (or requires allocations) ○ Terrible task selection “fairness” Task Thread Thread Thread Task0 码力 | 142 页 | 2.80 MB | 5 月前3
共 23 条
- 1
- 2
- 3
相关搜索词
SpannyRiseofstdmdspanC++UndertheHood2.1PingCAPGoruntimerelatedproblemsinTiDBproductionenvironmentmicrograd++500lineMachineLearningLibraryDesigningSlimmerVectorVariantsObjectIntrospectionRevolutionaryMemoryProfilerforObjectsSharedLibraries2020TheYearSanitizersShapesMultidimensionalArraysRethinkingTaskBasedConcurrencyandParallelismLowLatency