Fastest
str.replace
1.83 us
547K op/s
Speed
Benchmark | Runtime | Operations | VS | Visual |
---|---|---|---|---|
str.replace | 1.83 us | 547K op/s | 1× | |
re.sub compiled | 2.58 us | 388K op/s | 1.41× | |
re.sub | 6.13 us | 163K op/s | 3.4× |
Memory
Benchmark | Peak Memory | Score | VS | Visual |
---|---|---|---|---|
re.sub compiled | < 1 KB | 13.6 | 1× | |
re.sub | < 1 KB | 13.2 | 1× | |
str.replace | < 1 KB | 13.7 | 1× |
Output
str.replace
Nature and urban life exist in harmony in Brisbane, on Australia's west coast. Here, where the locals soak up more sunny days than in any other Australian capital city, you can visit nearby Rottnest Island, walk in leafy Kings Park and experience Swan Valley's vineyards, Aboriginal art, food and history. For local culture, wander the nearby city of Fremantle's winding portside streets, Brisbane city centre's museum and gallery precinct or peel back the layers of this urban landscape with an Aboriginal guide. Nature and urban life exist in harmony in Brisbane, on Australia's west coast. Here, where the locals soak up more sunny days than in any other Australian capital city, you can visit nearby Rottnest Island, walk in leafy Kings Park and experience Swan Valley's vineyards, Aboriginal art, food and history. For local culture, wander the nearby city of Fremantle's winding portside streets, Brisbane city centre's museum and gallery precinct or peel back the layers of this urban landscape with an Aboriginal guide. Nature and urban life exist in harmony in Brisbane, on Australia's west coast. Here, where the locals soak up more sunny days than in any other Australian capital city, you can visit nearby Rottnest Island, walk in leafy Kings Park and experience Swan Valley's vineyards, Aboriginal art, food and history. For local culture, wander the nearby city of Fremantle's winding portside streets, Brisbane city centre's museum and gallery precinct or peel back the layers of this urban landscape with an Aboriginal guide.
re.sub
Nature and urban life exist in harmony in Brisbane, on Australia's west coast. Here, where the locals soak up more sunny days than in any other Australian capital city, you can visit nearby Rottnest Island, walk in leafy Kings Park and experience Swan Valley's vineyards, Aboriginal art, food and history. For local culture, wander the nearby city of Fremantle's winding portside streets, Brisbane city centre's museum and gallery precinct or peel back the layers of this urban landscape with an Aboriginal guide. Nature and urban life exist in harmony in Brisbane, on Australia's west coast. Here, where the locals soak up more sunny days than in any other Australian capital city, you can visit nearby Rottnest Island, walk in leafy Kings Park and experience Swan Valley's vineyards, Aboriginal art, food and history. For local culture, wander the nearby city of Fremantle's winding portside streets, Brisbane city centre's museum and gallery precinct or peel back the layers of this urban landscape with an Aboriginal guide. Nature and urban life exist in harmony in Brisbane, on Australia's west coast. Here, where the locals soak up more sunny days than in any other Australian capital city, you can visit nearby Rottnest Island, walk in leafy Kings Park and experience Swan Valley's vineyards, Aboriginal art, food and history. For local culture, wander the nearby city of Fremantle's winding portside streets, Brisbane city centre's museum and gallery precinct or peel back the layers of this urban landscape with an Aboriginal guide.
re.sub compiled
Nature and urban life exist in harmony in Brisbane, on Australia's west coast. Here, where the locals soak up more sunny days than in any other Australian capital city, you can visit nearby Rottnest Island, walk in leafy Kings Park and experience Swan Valley's vineyards, Aboriginal art, food and history. For local culture, wander the nearby city of Fremantle's winding portside streets, Brisbane city centre's museum and gallery precinct or peel back the layers of this urban landscape with an Aboriginal guide. Nature and urban life exist in harmony in Brisbane, on Australia's west coast. Here, where the locals soak up more sunny days than in any other Australian capital city, you can visit nearby Rottnest Island, walk in leafy Kings Park and experience Swan Valley's vineyards, Aboriginal art, food and history. For local culture, wander the nearby city of Fremantle's winding portside streets, Brisbane city centre's museum and gallery precinct or peel back the layers of this urban landscape with an Aboriginal guide. Nature and urban life exist in harmony in Brisbane, on Australia's west coast. Here, where the locals soak up more sunny days than in any other Australian capital city, you can visit nearby Rottnest Island, walk in leafy Kings Park and experience Swan Valley's vineyards, Aboriginal art, food and history. For local culture, wander the nearby city of Fremantle's winding portside streets, Brisbane city centre's museum and gallery precinct or peel back the layers of this urban landscape with an Aboriginal guide.